package com.ib.review.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ib.review.pojo.dto.AnalyzeResultParam;
import com.ib.review.pojo.po.AnalyzeResultPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

import java.util.List;

@Mapper
public interface AnalyzeResultMapper extends BaseMapper<AnalyzeResultPO> {
    @Update("update td_analyze_result set del_flag = 1 where record_id = #{recordId}")
    void updateByDelFlag(String recordId);

    void updateResult(AnalyzeResultParam analyzeResultParam);

    List<String> exportToExcel(String recordId);
}
